package com.bishe.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * (Finance)表实体类
 *
 * @author makejava
 * @since 2024-03-07 14:47:04
 */
@TableName(value = "finance")
@ApiModel("财务")
@Data
@SuppressWarnings("serial")
public class Finance extends Model<Finance> {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String uid;
    //财务信息
    @ApiModelProperty("财务信息")
    private String info;
    //支出
    @ApiModelProperty("支出")
    private Double pay;
    //收入
    @ApiModelProperty("收入")
    private Double income;
    //预算
    @ApiModelProperty("预算")
    private Double budget;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}

